package com.spark.lola.vo;

import com.spark.lola.entity.statistics.StatisticsStoreProduct;
import com.spark.lola.entity.warehouse.StoreInfo;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 仓库货品统计记录
 * @Author: DengYeJun
 * @Date: 2020/6/17 13:49
 */
@Data
public class StoreProductsVo {
    public StoreProductsVo(){}
    public StoreProductsVo(StoreInfo storeInfo){
        this.id= storeInfo.getId();
        this.name = storeInfo.getName();
        this.details =new ArrayList<>();
    }
    private Long id;

    private String name;

    private List<StatisticsStoreProduct> details;

}
